home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
term
/
vltj5867.lha
/
VLT
/
rexx
/
SetPing.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-03-24
|
426b
|
22 lines
/** SetPing.rexx
*
* Set up the PingServer with a nice chime.
* Requires 'Ping'. This macro is usually run in the startup-sequence.
*
**/
if ~show('l','rexxarplib.library') then addrexxlib
/*
* Run Ping:
*/
address command 'PingServer'
/*
* Wait until its port appears
*/
do i = 1 to 20
if ~showlist('p', 'PingServer') then call delay 20
else leave i
end
call sendparsed('PingServer', SET, 1000, 5000, 64)
exit